package com.fzh.Zhanye.model;

import java.sql.Date;

public class Type1 extends BaseModel {
	private String t1Id;
	private String t1Name;
	
	public String getT1Id() {
		return t1Id;
	}
	public void setT1Id(String t1Id) {
		this.t1Id = t1Id;
	}
	public String getT1Name() {
		return t1Name;
	}
	public void setT1Name(String t1Name) {
		this.t1Name = t1Name;
	}
	@Override
	public String toString() {
		return "Type1 [t1Id=" + t1Id + ", t1Name=" + t1Name + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((t1Id == null) ? 0 : t1Id.hashCode());
		result = prime * result + ((t1Name == null) ? 0 : t1Name.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		Type1 other = (Type1) obj;
		if (t1Id == null) {
			if (other.t1Id != null)
				return false;
		} else if (!t1Id.equals(other.t1Id))
			return false;
		if (t1Name == null) {
			if (other.t1Name != null)
				return false;
		} else if (!t1Name.equals(other.t1Name))
			return false;
		return true;
	}
	public Type1(String creator, Date createTime, String updator, Date updateTime, String remark, String t1Id,
			String t1Name) {
		super(creator, createTime, updator, updateTime, remark);
		this.t1Id = t1Id;
		this.t1Name = t1Name;
	}
	public Type1() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Type1(String creator, Date createTime, String updator, Date updateTime, String remark) {
		super(creator, createTime, updator, updateTime, remark);
		// TODO Auto-generated constructor stub
	}
	
}
